package com.cenntro.common.mq;
/**
 * 定义消息队列主题<br/>
 */
public enum TopicEnum {
	DemoTopic("DemoTopic","示例主题"),
	DemoNewTopic("DemoNewTopic","示例主题新"),
	
	VEHICLE_ADD("VEHICLE_ADD", "vehicle 增加"),
	VEHICLE_DELETE("VEHICLE_DELETE", "imei 删除"),
	
	VEHICLE_UPLOAD("VEHICLE_UPLOAD", "vehicle 上报"),
	//VEHICLE_UPLOAD_ILLEGAL("VEHICLE_UPLOAD_ILLEGAL", "vehicle 上报错误")
	;
	
	private String code;
    private String msg;

    private TopicEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

}
